package com.hs.spring.bean.service.impl;

import com.hs.spring.bean.dao.UserDao;
import com.hs.spring.bean.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: songhao
 * @Date: 2021/9/5
 * @Description: TODO
 */
@Service("userService")
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public boolean login(String username, String password) {
        return userDao.login(username, password);
    }
}
